#ifndef SEGMENT_H
#define SEGMENT_H

#include <QSizeF>
#include "point2d.h"

class Segment
{
private:
    Point2d bottomleft;
    QSizeF segmentSize;
public:
    Segment(const Point2d & bottomLeft = Point2d(0, 0), double vsize = 0, double hsize = 0);
    const Point2d & bottomLeft() const;
    void setBottomLeft(const Point2d & bottomLeft);
    void setBottomLeft(double latitude, double longitude);
    const QSizeF & size() const;
};

#endif // SEGMENT_H
